public class Test {
    public static void main(String[] args) {
        char[][] input = new char[][] {{'X','X','X','X'},{'X','O','O','X'},{'X','X','O','X'},{'X','O','X','X'}};
        Solution s = new Solution();
        s.solve(input);
    }
}
